<HTML>
<HEAD>
<meta charset="UTF-8">
<title>BaseFragment.onAttach - commons/ui</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">commons/ui</a>&nbsp;/&nbsp;<a href="../index.html">com.vmadalin.commons.ui.base</a>&nbsp;/&nbsp;<a href="index.html">BaseFragment</a>&nbsp;/&nbsp;<a href="./on-attach.html">onAttach</a><br/>
<br/>
<h1>onAttach</h1>
<a name="com.vmadalin.commons.ui.base.BaseFragment$onAttach(android.content.Context)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">onAttach</span><span class="symbol">(</span><span class="identifier" id="com.vmadalin.commons.ui.base.BaseFragment$onAttach(android.content.Context)/context">context</span><span class="symbol">:</span>&nbsp;<a href="https://developer.android.com/reference/android/content/Context.html"><span class="identifier">Context</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Called when a fragment is first attached to its context.</p>
<h3>Parameters</h3>
<p><a name="context"></a>
<code>context</code> - The application context.</p>
<p><strong>See Also</strong><br/>
<p><a href="#">Fragment.onAttach</a></p>
</p>
</BODY>
</HTML>
